package model.Service;

import java.util.List;
import model.DAO.StudyTypeDAO;
import model.Entity.SIS.StudyType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("StudyTypeService")
public class StudyTypeService {
	
	@Autowired
	StudyTypeDAO studyTypeDAO;
	
	public List<StudyType> getAll(){
		return studyTypeDAO.findAll();
	}

}
